import { createRouter, createWebHistory } from 'vue-router'
//引入TEST页面组件
import Test from '@/views/test/index.vue'
//定义路由
const routes = [
  {
    path: '/test',
    component: Test 
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router